package com.qf.courtesycard.grabtickets.fegin;

import com.qf.courtesyard.domain.vo.ResultVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient("USER")
public interface UserTokenClient {

    @RequestMapping("/user/getToken")
    ResultVo getToken(@RequestParam("name") String name, @RequestParam("phoneNum") String phoneNum);

    @RequestMapping("/user/getUser")
    ResultVo getUser(@RequestParam("phoneNum") String phoneNum);
}
